package com.px.service;

import com.px.pojo.ShUser;

import java.util.List;

public interface ShUserService {

    //获取用户信息列表
    List<ShUser> selectUserList(String userName, Integer id,
                                Integer currentPageNo, Integer pageSize)throws Exception;

    //获取用户记录数
    int selectUserCount(String userName, Integer id)throws Exception;

    //获取用户信息
    ShUser selectUser(Integer userId)throws Exception;

    //添加用户信息
    int insertUser(ShUser shUser)throws Exception;

    //更新用户信息
    int updateUser(ShUser shUser)throws Exception;

    //删除用户信息
    int deleteUser(Integer id)throws Exception;
}
